package com.control.mbtc.fragments.account;


import android.content.Context;

import androidx.fragment.app.Fragment;

import com.control.mbtc.R;
import com.zzyd.common.app.AppFragment;

import butterknife.OnClick;

/**
 * A simple {@link Fragment} subclass.
 */
public class RegisterFragment extends AppFragment {
    private TargView targView;

    public RegisterFragment() {
        // Required empty public constructor
    }

    @Override
    public void onAttach(Context context) {
        super.onAttach(context);
        /**
         * fragment回调接口赋值
         */
        this.targView = (TargView) context;
    }

    @Override
    protected int getContentLayoutId() {
        return R.layout.fragment_register;
    }

    @OnClick(R.id.txt_go_login)
    void showLogin(){
        targView.viewTarg();
    }
}
